import request from "@/utils/request";
//周-其他付款计划列表
export function getWeekPaymentScheduleOther(params) {
  return request({
    url: "/paymentScheduleOther",
    method: "get",
    params,
  });
}
//周-其他付款计划概览
export function overviewPaymentScheduleOther(params) {
  return request({
    url: "/paymentScheduleOther/overview",
    method: "get",
    params,
  });
}
//周-其他付款计划删除
export function deletePaymentScheduleOther(data) {
  return request({
    url: `/paymentScheduleOther/${data.id}`,
    method: "delete",
    data,
  });
}
//周-其他付款计划导入
export function importPaymentScheduleOther(data) {
  return request({
    url: `/paymentScheduleOther/batch/import`,
    method: "patch",
    data,
  });
}
//
//周-其他付款计划审核
export function auditPaymentScheduleOther(data) {
  return request({
    url: `/paymentScheduleOther/batch/review`,
    method: "patch",
    data,
  });
}


//周-物流付款计划列表
export function getWeekPaymentScheduleLogistics(params) {
  return request({
    url: "/paymentScheduleLogistics",
    method: "get",
    params,
  });
}
//周-物流付款计划概览
export function overviewPaymentScheduleLogistics(params) {
  return request({
    url: "/paymentScheduleLogistics/overview",
    method: "get",
    params,
  });
}
//周-物流付款计划删除
export function deletePaymentScheduleLogistics(data) {
  return request({
    url: `/paymentScheduleLogistics/${data.id}`,
    method: "delete",
    data,
  });
}
//周-物流付款计划导入
export function importPaymentScheduleLogistics(data) {
  return request({
    url: `/paymentScheduleLogistics/batch/import`,
    method: "patch",
    data,
  });
}
//
//周-物流付款计划审核
export function auditPaymentScheduleLogistics(data) {
  return request({
    url: `/paymentScheduleLogistics/batch/review`,
    method: "patch",
    data,
  });
}



//周-采购付款计划列表
export function getWeekPaymentSchedulePurchase(params) {
  return request({
    url: "/paymentSchedulePurchase",
    method: "get",
    params,
  });
}
//周-采购付款计划概览
export function overviewPaymentSchedulePurchase(params) {
  return request({
    url: "/paymentSchedulePurchase/overview",
    method: "get",
    params,
  });
}
//周-采购付款计划删除
export function deletePaymentSchedulePurchase(data) {
  return request({
    url: `/paymentSchedulePurchase/${data.id}`,
    method: "delete",
    data,
  });
}
//周-采购付款计划导入
export function importPaymentSchedulePurchase(data) {
  return request({
    url: `/paymentSchedulePurchase/batch/import`,
    method: "patch",
    data,
  });
}
//
//周-采购付款计划审核
export function auditPaymentSchedulePurchase(data) {
  return request({
    url: `/paymentSchedulePurchase/batch/review`,
    method: "patch",
    data,
  });
}

